@import url("https://fonts.googleapis.com/css2?family=Rubik&display=swap");

:root {
    --primary-color: #91c73e;
    --secondary-color: #11182b;
    --tertiary-color: #232f50;
    --font-color: white;
    --font-family: "Rubik", sans-serif;
    --font-size-small: 12px;
    --font-size-medium: 14px;
    --font-size-large: 22px;
    --font-size-xlarge: 3vh;
    --border-radius: 5px;
    --box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

* {
    font-family: var(--font-family);
}

html,
body {
    height: 100%;
    margin: 0;
}

.background {
    background-color: rgba(34, 34, 59, 255);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

.bg-element {
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

.company {
    color: var(--font-color);
    font-style: italic;
    font-weight: bold;
}

.header {
    margin-bottom: 3vh;
}

.logo {
    margin: 0;
    width: 250px;
    height: auto;
}

.main-card {
    padding: 1.3rem !important;
}

.top-side {
    display: flex;
    justify-content: flex-end;
    height: auto;
    min-height: 25px;
}

.top-side-text {
    color: var(--font-color);
    font-weight: bold;
    background-color: var(--primary-color);
    padding: 2px 10px;
    border-radius: var(--border-radius);
    transform: skewX(-5deg);
    box-shadow: var(--box-shadow);
    font-size: var(--font-size-medium);
    line-height: 1.2;
    text-align: center;
    max-width: 100%;
    word-wrap: break-word;
}

.company-info {
    height: auto;
    min-height: 100px;
    display: flex;
    flex-wrap: wrap;
}

.company-info {
    height: auto;
    min-height: 100px;
    display: flex;
    flex-wrap: wrap;
}


.left-side {
    background-color: var(--secondary-color);
    padding: 0.7rem;
    width: 100px;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
    transform: skewX(-5deg);
    box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.5);
}

.right-side {
    background-color: var(--tertiary-color);
    width: calc(100% - 100px);
    min-width: 200px;
    padding: 1rem;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    transform: skewX(-5deg);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.right-side::-webkit-scrollbar {
    width: 2px;
}

.right-side::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.right-side::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

.right-side::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.nav-link{
    color: rgba(255, 255, 255, 0.822) !important;
}

.company-name {
    color: var(--font-color) !important;
    font-size: 1.6vh;
    display: flex;
    justify-content: end;
    text-decoration: none;
}

.company-per {
    display: flex;
    justify-content: end;
    cursor: pointer;
}

.per-text {
    color: var(--font-color);
    font-weight: bold;
    font-size: var(--font-size-xlarge);
}

.per-green-text {
    background-color: var(--primary-color);
    color: var(--font-color);
    font-weight: bold;
    font-size: var(--font-size-xlarge);
    border-radius: 7px;
    padding: 0px 10px;
}

.small-logo {
    width: 80px;
    height: auto;
}

.dash.header {
    position: relative;
}

.dash.header::after {
    content: "";
    background-color: var(--font-color);
    width: 1px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-button {
    background-color: #00AEEF;
    padding: 5px 20px;
    border-radius: 25px;
}

.cashback-text {
    color: var(--font-color);
    font-size: 2vh;
    font-weight: bold;
}

/* Media Queries */
@media (max-width: 1250px) {
    .logo {
        width: 250px;
    }

    .company-name {
        font-size: 3vh;
    }

    .company-per {
        font-size: 4vh;
    }

    .header {
        margin-bottom: 2vh;
    }
}

@media (max-width: 992px) {
    .logo {
        width: 200px;
    }

    .company-name {
        font-size: 2.8vh;
    }

    .company-per {
        font-size: 4vh;
    }

    .header {
        margin-bottom: 2vh;
    }

    .cashback-text {
        font-size: 1vh;
        margin-top: 10px;
    }

    .col-lg-10 {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .logo {
        width: 150px;
    }

    .company-name {
        font-size: 2.5vh;
    }

    .company-per {
        font-size: 3.5vh;
    }

    .header {
        margin-bottom: 2vh;
    }

    .cashback-text {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .custom-button {
        margin: 5px 0;
    }
}

@media (max-width: 576px) {
    .top-side-text {
        font-size: var(--font-size-small);
        padding: 2px 8px;
    }

    .left-side {
        width: 80px;
        min-width: 80px;
    }

    .right-side {
        width: calc(100% - 80px);
        min-width: 150px;
    }

    .company-name {
        font-size: 2vh;
    }

    .company-per {
        font-size: 2.8vh;
    }

    .company {
        font-size: 18px;
    }

    .cashback-text {
        font-size: var(--font-size-small);
    }

    .custom-button {
        padding: 3px 10px;
        font-size: var(--font-size-small);
    }
}

@media (max-width: 400px) {
    .company-info {
        flex-direction: column;
    }

    .left-side,
    .right-side {
        width: 100%;
        min-width: 100%;
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }

    .right-side {
        text-align: center;
    }

    .company-name,
    .company-per {
        justify-content: center;
    }
}